<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="${ctxPath}/publishLog/list" method="post">
        <input type="hidden" name="pageSize" value="${model.pageSize!}">
        <input type="hidden" name="pageCurrent" value="${model.pageNum!}">
        <div class="bjui-searchBar">
            <label>  开始日期：</label><input type="text" data-toggle="datepicker" data-pattern="yyyy-MM-dd HH:mm:ss" readonly value="${startTime!}" name="startTime" class="form-control" size="19">&nbsp;-
            <label>  截止日期：</label><input type="text" data-toggle="datepicker" data-pattern="yyyy-MM-dd HH:mm:ss" readonly value="${endTime!}" name="endTime" class="form-control" size="19">&nbsp;
            <button type="submit" class="btn-default" data-icon="search">查询</button>&nbsp;
            <a class="btn btn-orange" href="javascript:;" data-toggle="reloadsearch" data-clear-query="true" data-icon="undo">清空查询</a>
            <div class="pull-right">
                <div class="btn-group">
                    <button type="button" class="btn-default dropdown-toggle" data-toggle="dropdown" data-icon="copy">复选框-批量操作<span class="caret"></span></button>
                    <ul class="dropdown-menu right" role="menu">
                        <!--<li><a href="book1.xlsx" data-toggle="doexport" data-confirm-msg="确定要导出信息吗？">导出<span style="color: green;">当前</span></a></li>-->
                        <li><a href="${ctxPath}/publishLog/delete" data-toggle="doajaxchecked" data-confirm-msg="确定要删除选中项吗？" data-idname="ids" data-group="ids">
                            <span style="color: red">删除</span>选中</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </form>
</div>
<div class="bjui-pageContent tableContent">
    <table class="table table-bordered table-hover table-striped table-top" data-selected-multi="true">

        <thead>
            <tr>
                <th align="center"  width="25">编号</th>
                <th align="center"  width="130">页面名称</th>
                <th align="center"  width="60">模板名称</th>
                <th align="center" width="50">异常状态</th>
                <th align="center" width="60">静态化耗时（s）</th>
                <th align="center"  width="150">描述（失败原因）</th>
                <th align="center"  width="50">创建日期</th>
                <th align="center"  width="50">所属站点</th>
                <th align="center"  width="50">栏目名称</th>
                <th  align="center"  width="20"><input type="checkbox" class="checkboxCtrl" data-group="ids" data-toggle="icheck"></th>
                <th  align="center" width="30">操作</th>
            </tr>
        </thead>
        <tbody>
        @for(log in model.list){
            <tr data-id="${logLP.index}">
                <td align="center">${log.logId!}</td>
                <td align="left">${log.pageName!}</td>
                <td align="center">${log.templateName!}</td>
                @if(log.publishStatus == 1){
                    <td align="center">成功</td>
                @}else{
                    <td align="center">失败</td>
                @}
                <td align="center">${log.consumingTime!}</td>
                <td align="center">${log.description!}</td>
                <td align="center">${log.createTime,dateFormat="yyyy-MM-dd HH:mm:ss"}</td>
                <td align="center">${log.siteName!}</td>
                <td align="center">${log.categoryName!}</td>
                <td  align="center" ><input type="checkbox" name="ids" data-toggle="icheck" value="${log.logId!}"></td>
                <td align="center">
                    <a href="${ctxPath}/publishLog/delete?ids=${log.logId!}" class="btn btn-red" data-toggle="doajax" data-confirm-msg="确定要删除该行信息吗？">删除日志</a>
                </td>
            </tr>
        @}
        </tbody>
    </table>
</div>
<div class="bjui-pageFooter">
    <div class="pages">
        <span>每页&nbsp;</span>
        <div class="selectPagesize">
            <select data-toggle="selectpicker" data-toggle-change="changepagesize">
                <option value="30">30</option>
                <option value="60">60</option>
                <option value="120">120</option>
                <option value="150">150</option>
            </select>
        </div>
        <span>&nbsp;条，共 ${model.total!} 条</span>
    </div>
    <div class="pagination-box" data-toggle="pagination" data-total="${model.total!}" data-page-size="30" data-page-current="1">
    </div>
</div>